package com.glacier.yuyuan.gen.webapp.domain;

import com.glacier.common.core.domain.BaseEntity;

/**
 * date 2023-01-29 09:01
 * 字段类型管理
 *
 * @author glacier
 * @version 1.0.0
 */
public class GenFieldType extends BaseEntity {

    private static final long serialVersionUID = 5387644655612588855L;
    /**
     * 数据库类型
     */
    private String dbType;
    /**
     * 字段类型
     */
    private String columnType;

    /**
     * 属性类型
     */
    private String attrType;

    /**
     * 属性类型名
     */
    private String attrTypeName;

    /**
     * 导包 1：是，2：否
     */
    private String importFlag;

    public GenFieldType() {
    }

    public GenFieldType(String id) {
        super(id);
    }

    public String getDbType() {
        return dbType;
    }

    public void setDbType(String dbType) {
        this.dbType = dbType;
    }

    public String getColumnType() {
        return columnType;
    }

    public void setColumnType(String columnType) {
        this.columnType = columnType;
    }

    public String getAttrType() {
        return attrType;
    }

    public void setAttrType(String attrType) {
        this.attrType = attrType;
    }

    public String getAttrTypeName() {
        return attrTypeName;
    }

    public void setAttrTypeName(String attrTypeName) {
        this.attrTypeName = attrTypeName;
    }

    public String getImportFlag() {
        return importFlag;
    }

    public void setImportFlag(String importFlag) {
        this.importFlag = importFlag;
    }

    @Override
    public String toString() {
        return "GenFieldType{" +
                "dbType='" + dbType + '\'' +
                ", columnType='" + columnType + '\'' +
                ", attrType='" + attrType + '\'' +
                ", attrTypeName='" + attrTypeName + '\'' +
                ", importFlag='" + importFlag + '\'' +
                ", id='" + id + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                ", remark='" + remark + '\'' +
                '}';
    }
}
